package com.sw.bbs.board.vo.response.board;

import com.sw.bbs.board.pojo.Board;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel("板块结构")
public class BoardTreeResponse {

    @ApiModelProperty("板块ID")
    private Integer boardId;

    @ApiModelProperty("父板块ID")
    private Integer parentBoardId;

    @ApiModelProperty("板块名字")
    private String title;

    @ApiModelProperty("板块级别 0:第一层")
    private Integer level;

    @ApiModelProperty("子板块列表")
    private List<Board> childBoards;
}
